package com.ziyun.pop.modules.erpSupplierOffline.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ziyun.pop.modules.erpSupplierOffline.entity.ErpSupplierOfflineEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.common.utils.R;
import javafx.scene.control.Pagination;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 线下外协商
 * 
 * @author llc
 * @email 787254039@qq.com
 * @date 2018-10-29 08:48:05
 */
public interface ErpSupplierOfflineDao extends BaseMapper<ErpSupplierOfflineEntity> {

    List<ErpSupplierOfflineEntity> getListBySupplierName(@Param("supplier_name") String ziyunSuppName);

    List<ErpSupplierOfflineEntity> selectErpSupplierOffline( @Param("map") Map<String, Object> params);

    ErpSupplierOfflineEntity selectByProduId(@Param("supplierId") Integer supplierId);

    Integer selectCountBySupplierName(@Param("supplierName") String supplierName);

    void updateByMap(@Param("map") Map<String,Object> map);

    Integer selectCountByTel(@Param("contactTel") String contactTel);
}
